Search
Utilities.PointInPolyRect Method
See Also
 






Determines if the specified point is within the smallest rectangle that encloses the specified polygon.

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public static bool PointInPolyRect (
    IList<Point> poly,
    Point ptTest,
    ref Rect rBound
)

Visual Basic  Copy Code

Public Shared Function PointInPolyRect( _
    poly As IList(Of Point), _
    ptTest As Point, _
    ByRef rBound As Rect _
) As Boolean

 Parameters

poly

ptTest

rBound

 Return Value

true or false depending on whether the point is in the rect or not.

 See Also